package com.jiwanqing.demo.entity;

public class Teacher {
    public Student scoreRating(Student s){
        if (s == null){
            return null;
        }
        if (s.getFraction() >= 90){
            s.setGrade("A");
        }else {
            s.setGrade("B");
        }
        return s;
    }
















}
